package com.cheetah.start.module.system.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cheetah.start.common.base.query.PageQuery;
import com.cheetah.start.module.system.domain.ScheduleLog;

/**
 * Describe: 定时任务日志服务接口
 * Author: 就免仪式
 * CreateTime: 2019/10/23
 */

public interface IScheduleLogService extends IService<ScheduleLog> {

    /**
     * Describe: 定时任务日志入库
     * Param: ScheduleJob
     * Return: Boolean 执行结果
     */
    Boolean insert(ScheduleLog scheduleLog);


    /**
     * Describe: 定时任务列表  分页
     * Param: ScheduleJob
     * Return: pageInfo
     */
    Page<ScheduleLog> pageList(ScheduleLog scheduleLogBean, PageQuery pageDomain);

}
